package com.acs.attestation.data;

import com.ruoyi.common.core.web.domain.AjaxResult;

/**
 * @author 杰
 * @Description:
 * @date 2022/4/28 11:39
 */
public class ResultData {

    public AjaxResult toAjax(int rows)
    {
        return rows > 0 ? AjaxResult.success() : AjaxResult.error();
    }

}
